preCalculateMinMaxRecordDates

Pre-Calculate the minimum and maximum record dates from transaction and account start dates that can be used for a networth calculation. Will return null when there are not enough records to deduce the range. Typically used to pre-determine date bounds before running a full net worth balance calculation (e.g. for chart scaling, filtering, etc.). You should only call this once, and only when needed at the beginning of your code, as it does have to quickly scan all transactions.

NOTE: You should preconfigure the calculator's key properties before calling this function (note: as-of date(s), cutOffDate and currency parameters are ignored when calling this method).

Return

DateRange containing minimum(start)/maximum(end) dates found (returns null if insufficient data data found).

Parameters

maxAsOfDate

the maximum (most recent) as-of date to be calculated. When null then balanceType will be checked and maxAsOfDate will default to today or a future date accordingly.